package cn.lyj.entity;

import java.math.BigDecimal;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * CusCustomer entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "CUS_CUSTOMER")

public class CusCustomer implements java.io.Serializable {

	// Fields

	private BigDecimal cusId;
	private String cusName;
	private String cusAddr;

	// Constructors

	/** default constructor */
	public CusCustomer() {
	}

	/** full constructor */
	public CusCustomer(BigDecimal cusId, String cusName, String cusAddr) {
		this.cusId = cusId;
		this.cusName = cusName;
		this.cusAddr = cusAddr;
	}

	// Property accessors
	@Id

	@Column(name = "CUS_ID", unique = true, nullable = false, precision = 22, scale = 0)

	public BigDecimal getCusId() {
		return this.cusId;
	}

	public void setCusId(BigDecimal cusId) {
		this.cusId = cusId;
	}

	@Column(name = "CUS_NAME", nullable = false)

	public String getCusName() {
		return this.cusName;
	}

	public void setCusName(String cusName) {
		this.cusName = cusName;
	}

	@Column(name = "CUS_ADDR", nullable = false)

	public String getCusAddr() {
		return this.cusAddr;
	}

	public void setCusAddr(String cusAddr) {
		this.cusAddr = cusAddr;
	}

}